sets union and intersection in python